<%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8" isELIgnored="false" import="java.util.Date"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>爱河-表白墙</title>
<meta name="Keywords" content="最真诚的表白-爱河表白墙" >
<meta name="Description" content="爱河表白墙-在这里可以把心里暗恋的男神女神大胆的说出来" >
<link rel="shortcut icon" href="http://oyf9ib2pn.bkt.clouddn.com/love_letter_128px_1207288_easyicon.net.ico">
<script src="<%=request.getContextPath() %>/static/js/common/jquery.min.js"></script>
<script src="<%=request.getContextPath() %>/static/js/loveShow/loveshow.js?<%=new Date()%>a"></script>
<script src="<%=request.getContextPath() %>/static/js/common/browserType.js"></script>

<!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->
</head>
<body>
<%@ include file="/static/commonjsp/headv2.jsp" %>
<a href="#" data-toggle="modal" data-target="#myLove"><span class="label label-success">Success</span></a>
<div class="news-info">
				<c:forEach items="${loveShows }" var="info">
				<div class="col-md-6 news-grids">
					<div class="news-grids-left">
						<img src="<%=request.getContextPath() %>/static/images/temporary/love.png" class="img-responsive" alt="/">
					</div>
					<div class="news-grids-right">
						<h5>(${info.nickname })发布于:${info.ipregion }</h5>
						<p>${info.content }</p>
					</div>
					<div class="clearfix"> </div>
				</div>
				</c:forEach>
				<div class="clearfix"> </div>
			</div>
<div class="modal inmodal fade" id="myLove" tabindex="-1" role="dialog"  aria-hidden="true">
	<div class="modal-dialog modal-sm">
   		 <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
            <h4 class="modal-title">发布我的表白</h4>
        </div>
        <div class="modal-body">
        	<form role="form">
             <div class="form-group">
                 <label>你的昵称</label>
                 <input type="email" placeholder="请输入你的昵称" id="nickname" class="form-control">
             </div>
              <div class="form-group">
                 <label>表白标题</label>
                 <input type="email" placeholder="请输入你的昵称" id="title" class="form-control">
             </div>
             <div class="form-group">
                 <label>表白内容</label>
                 <textarea class="form-control" placeholder="请输入你的表白内容" rows="3" id="loveContent"></textarea>
             </div>
           
         </form>
        </div>
        <p style="font-size:20px;color: red;" id="loveError"></p>
        <div class="modal-footer">
            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
            <button type="button" class="btn btn-primary saveLove" >保存</button>
        </div>
    </div>
</div>
<input type="hidden" id="lovePage" value="1">
<input type="hidden" id="pathId" value="<%=request.getContextPath() %>">
</body>
</html>